# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class CertificatePack(object):

    def __init__(self, id=None, type=None, ty_pe=None, hosts=None, certificates=None, primary_certificate=None):
        """
        :param id: (Optional) 证书包的唯一标识符
        :param type: (Optional) 证书包的类型，有效值universal/sni_custom/advanced
universal    通用
sni_custom   自定义
advanced     专用

        :param ty_pe: (Optional) 证书包的类型，有效值universal/sni_custom/advanced
universal    通用
sni_custom   自定义
advanced     专用
(值同type)

        :param hosts: (Optional) 证书包的有效主机名的逗号分隔列表。必须包含域的顶级域名，不能包含超过50个主机，并且不能为空。
        :param certificates: (Optional) 
        :param primary_certificate: (Optional) 包中主证书的标识符
        """

        self.id = id
        self.type = type
        self.ty_pe = ty_pe
        self.hosts = hosts
        self.certificates = certificates
        self.primary_certificate = primary_certificate
